﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using Volo.Abp;

namespace Business.Models
{
    /// <summary>
    /// 供应商
    /// </summary>
    [Table("Supplier")]
    public class Supplier : AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        /// <summary>
        /// 供应商ID
        /// </summary>
        public Guid? Sid { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string Sname { get; set; }
        /// <summary>
        /// 供应商编码
        /// </summary>
        public string Scode { get; set; }
        /// <summary>
        /// 供应商类别id
        /// </summary>
        public Guid? TenantId { get; set; }
        /// <summary>
        /// 供应商等级id
        /// </summary>
        public Guid? Sgid { get; set; }
        /// <summary>
        /// 所在省份
        /// </summary>
        public string Pname { get; set; }
        /// <summary>
        /// 所在城市
        /// </summary>
        public string Cname { get; set; }
        /// <summary>
        /// 所属行业
        /// </summary>
        public string Iname { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Linkman { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string Department { get; set; }


        /// <summary>
        /// 籍贯
        /// </summary>
        public string Nativep { get; set; }

        /// <summary>
        /// 职务
        /// </summary>
        public string Duty { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Gender { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime Birthday { get; set; }
        /// <summary>
        /// 办公电话
        /// </summary>
        public string Workphone { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 家庭电话
        /// </summary>
        public string Familyphone { get; set; }
        /// <summary>
        /// 微信
        /// </summary>
        public string WeChat { get; set; }
        /// <summary>
        /// qq
        /// </summary>
        public string Qqname { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string Postcode { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string Companaddress { get; set; }
        /// <summary>
        /// 法人代表
        /// </summary>
        public string Statutory { get; set; }
        /// <summary>
        /// 注册资本
        /// </summary>
        public decimal Capital { get; set; }
        /// <summary>
        /// 人员规模
        /// </summary>
        public string Scale { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string Companydesc { get; set; }


        /// <summary>
        /// 合作情况简介
        /// </summary>
        public string CooperationDesc { get; set; }


        /// <summary>
        /// 开户银行
        /// </summary>
        public string Depositbank { get; set; }
        /// <summary>
        /// 账户名称
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 银行账号
        /// </summary>
        public string Bankaccount { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Twophone { get; set; }
        /// <summary>
        /// 账期
        /// </summary>
        public int Paymentdays { get; set; }
        /// <summary>
        /// 每月几号结算
        /// </summary>
        public int Jiesuanday { get; set; }
        public bool IsDeleted { get; set; }


    }
}
